using System;
using System.Data;
using System.Collections.Generic;
using System.ServiceModel;
using eTMS.DAO;
namespace eTMS.Services{
	/********************************BEGIN ApDungChuongTrinhDaoTaoService****************************************/
	///<summary>
	/// <para>Author: Auto generated class by CSharp Code Generator v2.0</para>
	/// <para>Date:27/10/2011 56:03:12</para>
	/// <para>Class Name: ApDungChuongTrinhDaoTaoService</para>
	/// <para>Description: </para>
	///</summary>

	
	public partial class ApDungChuongTrinhDaoTaoService : IApDungChuongTrinhDaoTaoService{


		#region Select functions
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: SelectOne</para>
		/// <para>Input: ApDungChuongTrinhDaoTao_ID</para>
		/// <para>Output: ApDungChuongTrinhDaoTaoEntity</para>
		///</summary>
		public ApDungChuongTrinhDaoTaoEntity SelectOne(int ApDungChuongTrinhDaoTao_ID){
			ApDungChuongTrinhDaoTaoDAO dao = new ApDungChuongTrinhDaoTaoDAO();
			return dao.SelectOne(ApDungChuongTrinhDaoTao_ID);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: SelectAll</para>
		/// <para>Input: </para>
		/// <para>Output: List of ApDungChuongTrinhDaoTaoEntity</para>
		///</summary>
		public List<ApDungChuongTrinhDaoTaoEntity> SelectAll(){
			ApDungChuongTrinhDaoTaoDAO dao = new ApDungChuongTrinhDaoTaoDAO();
			return dao.SelectAll();
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: SelectAllDS</para>
		/// <para>Input: </para>
		/// <para>Output: DataSet</para>
		///</summary>
		public DataSet SelectAllDS(){
			ApDungChuongTrinhDaoTaoDAO dao = new ApDungChuongTrinhDaoTaoDAO();
			return dao.SelectAllDS();
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: SelectAll</para>
		/// <para>Input: </para>
		/// <para>Output: List of ApDungChuongTrinhDaoTaoEntity</para>
		///</summary>
		public List<ApDungChuongTrinhDaoTaoEntity> SelectAllFilter(string strFilter){
			ApDungChuongTrinhDaoTaoDAO dao = new ApDungChuongTrinhDaoTaoDAO();
			return dao.SelectAllFilter(strFilter);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: SelectAllDS</para>
		/// <para>Input: </para>
		/// <para>Output: DataSet</para>
		///</summary>
		public DataSet SelectAllDSFilter(string strFilter){
			ApDungChuongTrinhDaoTaoDAO dao = new ApDungChuongTrinhDaoTaoDAO();
			return dao.SelectAllDSFilter(strFilter);
		}
		#endregion

		#region Insert functions
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: Save</para>
		/// <para>Input: ApDungChuongTrinhDaoTaoEntity</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool Save(ApDungChuongTrinhDaoTaoEntity o){
			ApDungChuongTrinhDaoTaoDAO dao = new ApDungChuongTrinhDaoTaoDAO();
			return dao.Save(o);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: Save</para>
		/// <para>Input: ApDungChuongTrinhDaoTaoEntity</para>
		/// <para>Output: ApDungChuongTrinhDaoTaoEntity</para>
		///</summary>
		public ApDungChuongTrinhDaoTaoEntity SaveRet(ApDungChuongTrinhDaoTaoEntity o){
			ApDungChuongTrinhDaoTaoDAO dao = new ApDungChuongTrinhDaoTaoDAO();
			dao.Save(o);
			return o;
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: SaveList</para>
		/// <para>Input: List of ApDungChuongTrinhDaoTaoEntity</para>
		/// <para>Output: </para>
		///</summary>
		public void SaveList(List<ApDungChuongTrinhDaoTaoEntity> list){
			ApDungChuongTrinhDaoTaoDAO dao = new ApDungChuongTrinhDaoTaoDAO();
			dao.SaveList(list);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: SaveListRet</para>
		/// <para>Input: List of ApDungChuongTrinhDaoTaoEntity</para>
		/// <para>Output: List of ApDungChuongTrinhDaoTaoEntity</para>
		///</summary>
		public List<ApDungChuongTrinhDaoTaoEntity> SaveListRet(List<ApDungChuongTrinhDaoTaoEntity> list){
			this.SaveList(list);
			return list;
		}
		#endregion

		#region Update functions
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: Update</para>
		/// <para>Input: ApDungChuongTrinhDaoTaoEntity</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool Update(ApDungChuongTrinhDaoTaoEntity o){
			ApDungChuongTrinhDaoTaoDAO dao = new ApDungChuongTrinhDaoTaoDAO();
			return dao.Update(o);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: UpdateList</para>
		/// <para>Input: List of ApDungChuongTrinhDaoTaoEntity</para>
		/// <para>Output: </para>
		///</summary>
		public void UpdateList(List<ApDungChuongTrinhDaoTaoEntity> list){
			ApDungChuongTrinhDaoTaoDAO dao = new ApDungChuongTrinhDaoTaoDAO();
			dao.UpdateList(list);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: UpdateKhoaHoc_ID</para>
		/// <para>Input: NewKhoaHoc_ID,ApDungChuongTrinhDaoTao_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool UpdateKhoaHoc_ID(int NewKhoaHoc_ID,int ApDungChuongTrinhDaoTao_ID){
			ApDungChuongTrinhDaoTaoDAO dao = new ApDungChuongTrinhDaoTaoDAO();
			return dao.UpdateKhoaHoc_ID(NewKhoaHoc_ID,ApDungChuongTrinhDaoTao_ID);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: UpdateChuongTrinhDaoTao_ID</para>
		/// <para>Input: NewChuongTrinhDaoTao_ID,ApDungChuongTrinhDaoTao_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool UpdateChuongTrinhDaoTao_ID(int NewChuongTrinhDaoTao_ID,int ApDungChuongTrinhDaoTao_ID){
			ApDungChuongTrinhDaoTaoDAO dao = new ApDungChuongTrinhDaoTaoDAO();
			return dao.UpdateChuongTrinhDaoTao_ID(NewChuongTrinhDaoTao_ID,ApDungChuongTrinhDaoTao_ID);
		}
		#endregion

		#region Delete functions
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: Delete</para>
		/// <para>Input: ApDungChuongTrinhDaoTaoEntity</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool Delete(ApDungChuongTrinhDaoTaoEntity o){
			ApDungChuongTrinhDaoTaoDAO dao = new ApDungChuongTrinhDaoTaoDAO();
			return dao.Delete(o);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: DeleteByID</para>
		/// <para>Input: ApDungChuongTrinhDaoTao_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool DeleteByID(int ApDungChuongTrinhDaoTao_ID){
			ApDungChuongTrinhDaoTaoDAO dao = new ApDungChuongTrinhDaoTaoDAO();
			return dao.DeleteByID(ApDungChuongTrinhDaoTao_ID);
		}
		#endregion

		#region Select join to ChuongTrinhDaoTaoKhoaHoc functions
		#endregion

		#region Select join to ChuongTrinhDaoTao functions
		#endregion

		#region Select join to KhoaHoc functions
		#endregion

		#region Select,delete by ApDungChuongTrinhDaoTao_ID functions
		#endregion

		#region Select,delete by KhoaHoc_ID functions
		#endregion

		#region Select,delete by ChuongTrinhDaoTao_ID functions
		#endregion
	}
	/*****************************************************************************************************/
	/**********************************END ApDungChuongTrinhDaoTaoWebServiceBase*****************************************/
	/*****************************************************************************************************/
}

